import send from '../../http'
export default {
  // hongwen start ======
  // 查询播放语音节点
  queryAnnouncement (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.announcement.queryAnnouncement'
    }
    return send.fetch(req, 'post')
  },
// {"_id":"73081b70-4960-11e9-8ed4-fd93b3bd9bdb","Exten":"10173","DisplayName":"测试按键63","Filename":"a4d691d09d5fb31366123cbf207e1faa.wav","NotBreak":false,"ToPeerType":"system","ToPeer":"0","Account":"N00000002407","PBX":"pbx.tx.test02.0"}
  // 添加更新播放语音节点
  updateAnnouncement (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.announcement.updateAnnouncement'
    }
    return send.fetch(req, 'post')
  },
  // 删除播放语音节点
  deleteAnnouncement (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.announcement.deleteAnnouncement'
    }
    return send.fetch(req, 'post')
  },
  // 查询播放文本节点
  queryTextAnnouncement (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.textAnnouncement.queryTextAnnouncement'
    }
    return send.fetch(req, 'post')
  },
// {"_id":"40487d30-4c83-11e9-9d4a-1301e4b84392","Exten":"10183","DisplayName":"1","Engine":"default","AnnouncementText":"2","MrcpVar":"","WordInterval":"12011","SignInterval":"50011","IsMoney":0,"ReplaceVar":"","VoiceName":"xiaoyun","Speed":"0","Pitch":"0","Volume":"50","ToPeerType":"system","ToPeer":"0","Account":"N00000002407","PBX":"pbx.tx.test02.0"}
  // 添加更新播放文本节点
  updateTextAnnouncement (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.textAnnouncement.updateTextAnnouncement'
    }
    return send.fetch(req, 'post')
  },
  // 删除播放文本节点
  deleteTextAnnouncement (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.textAnnouncement.deleteTextAnnouncement'
    }
    return send.fetch(req, 'post')
  },
  // 查询按键菜单节点
  queryIvr (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.ivr.queryIvr'
    }
    return send.fetch(req, 'post')
  },
  // 添加更新按键菜单节点
  updateIvr (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.ivr.updateIvr'
    }
    return send.fetch(req, 'post')
  },
  // 添加按键菜单配置
// {"_id":"bb5b86b0-ebd1-11e8-bfb2-e9407fd311ed","Exten":"33","DisplayName":"虾米按键","Timeout":"10","Filename":"a4d691d09d5fb31366123cbf207e1faa.wav","Account":"N00000002407","PBX":"pbx.tx.test02.0"}
  updateIvrKey (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.ivr.updateIvrKey'
    }
    return send.fetch(req, 'post')
  },
  // 删除按键菜单节点
  deleteIvr (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.ivr.deleteIvr'
    }
    return send.fetch(req, 'post')
  },
  // 查询采集输入节点
  queryValidation (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.validation.queryValidation'
    }
    return send.fetch(req, 'post')
  },
  // 添加更新采集输入节点
// {"_id":"c60d9030-ebd1-11e8-ba1a-49a3c5f4e99d","Exten":"34","EndType":"1","DisplayName":"是","Filename":"","Data":"IS_RED_NUM","EndKey":"#","Min":"0","Max":"30","WaitTime":"20","ReturnKey":"*","ToPeerType":"system","ToPeer":"0","ToPeerTypeWhenWaitTimeout":"system","ToPeerWhenWaitTimeout":"0","Account":"N00000002407","PBX":"pbx.tx.test02.0"}
  updateValidation (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.validation.updateValidation'
    }
    return send.fetch(req, 'post')
  },
  // 删除采集输入节点
  deleteValidation (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.validation.deleteValidation'}
    return send.fetch(req, 'post')
  },
  // 查询赋值节点
  queryAssignment (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.assignment.queryAssignment'
    }
    return send.fetch(req, 'post')
  },
  // 添加更新赋值节点
// {"_id":"c430931e-23b0-4a29-bdf6-90df556e959d","Exten":"10145","DisplayName":"12","ToPeerType":"system","ToPeer":"0","ivrAssignment":"IS_RED_NUM","Account":"N00000002407","PBX":"pbx.tx.test02.0","VarConditions":[{"VarName":"IS_RED_NUM","VarValue":"2"}]}
  updateAssignment (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.assignment.updateAssignment'
    }
    return send.fetch(req, 'post')
  },
  // 删除赋值节点
  deleteAssignment (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.assignment.deleteAssignment'}
    return send.fetch(req, 'post')
  },
  // 查询MD5 加密
  queryEncryptMd5 (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.encryptMd5.queryEncryptMd5'
    }
    return send.fetch(req, 'post')
  },
  // 添加MD5 加密节点
// {"_id":"d3a8fe00-ebd1-11e8-ba1a-49a3c5f4e99d","Exten":"36","DisplayName":"搜索","EncryptText":"搜索","Variable":"","NextPeerType":"system","NextPeer":"0","Account":"N00000002407","PBX":"pbx.tx.test02.0"}
  updateEncryptMd5 (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.encryptMd5.updateEncryptMd5'
    }
    return send.fetch(req, 'post')
  },
  // 删除MD5 加密
  deleteEncryptMd5 (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.encryptMd5.deleteEncryptMd5'}
    return send.fetch(req, 'post')
  },
  // 查询callUrl
  queryCallUrl (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.callUrl.queryCallUrl'
    }
    return send.fetch(req, 'post')
  },
  // 添加callUrl
// {"_id":"7c7014b9-8b04-4a64-b479-c04ee87fb82a","Exten":"38","DisplayName":"","Url":"www.baidu.com","MD5":"","Filename":"","Timeout":"10","Variable":"","NextPeerType":"system","NextPeer":"0","ToPeerTypeWhenTimeout":"system","ToPeerWhenTimeout":"0","Account":"N00000002407","PBX":"pbx.tx.test02.0"}
  updateCallUrl (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.callUrl.updateCallUrl'
    }
    return send.fetch(req, 'post')
  },
  // 删除callUrl
  deleteCallUrl (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.callUrl.deleteCallUrl'}
    return send.fetch(req, 'post')
  },
  // 查询Route
  queryRoute (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.route.queryRoute'
    }
    return send.fetch(req, 'post')
  },
  // 添加Route
// {"_id":"dd51add0-ebd1-11e8-ba1a-49a3c5f4e99d","Exten":"37","DisplayName":"是","ToPeerType":"system","ToPeer":"0","ToPeerTypeUnmatched":"system","ToPeerUnmatched":"0","Account":"N00000002407","PBX":"pbx.tx.test02.0","Routes":[{"VarName":"IS_RED_NUM","Operation":"0","Value":"是","Logic":"and"}]}
  updateRoute (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.route.updateRoute'
    }
    return send.fetch(req, 'post')
  },
  // 删除Route
  deleteRoute (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.route.deleteRoute'}
    return send.fetch(req, 'post')
  },
  // 查询时间节点
  updateDate (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.date.updateDate'
    }
    return send.fetch(req, 'post')
  },
  // 添加时间节点
// {"_id":"96d93845-b9b7-4f2c-b377-384da3121d83","Exten":"10169","DisplayName":"1","NextPeerUnmatchType":"system","NextPeerUnmatch":"0","Account":"N00000002407","PBX":"pbx.tx.test02.0","Dates":[{"WeekMon":false,"WeekTue":false,"WeekWed":true,"WeekThu":true,"WeekFri":true,"WeekSat":true,"WeekSun":true,"StartDate":"*","EndDate":"*","StartTime":"*","EndTime":"*","Order":"1","NextPeerType":"system","NextPeer":"0"}]}
  queryDate (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.date.queryDate'
    }
    return send.fetch(req, 'post')
  },
  // 删除时间节点
  deleteDate (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.date.deleteDate'}
    return send.fetch(req, 'post')
  },
  // hongwen end ======
  // guoliang start   ===========
  /**
   * 查询ivr菜单节点
   * [queryIvrMenu description]
   * @param data {Account, PBX}
   */
  queryIvrMenu (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.ivrMenu.queryIvrMenu'
    }
    return send.fetch(req, 'post')
  },
  /**
   * 修改ivr菜单节点
   * [updateIvrMenu description]
   * @param data {}
   * data.id            节点id
   * data.DisplayName   节点名称
   * data.menuType      节点类型
   * data.NextPeerType  转向类型
   * data.NextPeer      转向标志
   * data.Account       账户号
   * data.PBX           账户pbx
   */
  updateIvrMenu (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.ivrMenu.updateIvrMenu'
    }
    return send.fetch(req, 'post')
  },
  /**
   * 删除ivr菜单节点
   * [deleteIvrMenu description]
   * @param data {}
   * data.id            节点id
   * data.DisplayName   节点名称
   * data.menuType      节点类型
   * data.NextPeerType  转向类型
   * data.NextPeer      转向标志
   * data.Account       账户号
   * data.PBX           账户pbx
   */
  deleteIvrMenu (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.ivrMenu.deleteIvrMenu'
    }
    return send.fetch(req, 'post')
  },
  /**
   * 请求双向回呼节点列表
   * [queryTwoWayCall description]
   * @param data {Account, PBX}
   */
  queryTwoWayCall (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.twowayCall.queryTwoWayCall'
    }
    return send.fetch(req, 'post')
  },
  /**
   * 添加修改双向回呼节点
   * [updateTwoWayCall description]
   * @param data {}
   * data.id            节点id
   * data.DisplayName   节点名称
   * data.Filename      语音文件名
   * data.Variable      变量
   * data.Account       账户号
   * data.PBX           账户pbx
   */
  updateTwoWayCall (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.twowayCall.updateTwoWayCall'
    }
    return send.fetch(req, 'post')
  },
  /**
   * 删除双向回呼节点
   * [deleteTwoWayCall description]
   * @param data {}
   * data.id            节点id
   * data.DisplayName   节点名称
   * data.Filename      语音文件名
   * data.Variable      变量
   * data.Account       账户号
   * data.PBX           账户pbx
   */
  deleteTwoWayCall (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.twowayCall.deleteTwoWayCall'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 请求自定义节点列表
  * [queryExtensionPeer description]
  * @param data {Account, PBX}
  */
  queryExtensionPeer (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.extensionPeer.queryExtensionPeer'
    }
    return send.fetch(req, 'post')
  },
  /**
   * 添加修改自定义节点
   * [updateExtensionPeer description]
   * @param data {}
   * data.id            当前对象id
   * data.DisplayName   节点名称
   * data.DialPlan      上下文内容
   * data.Exten         节点ID
   * data.Account       账户号
   * data.PBX           账户pbx
   */
  updateExtensionPeer (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.extensionPeer.updateExtensionPeer'
    }
    return send.fetch(req, 'post')
  },
  /**
   * 删除自定义节点
   * [deleteExtensionPeer description]
   * @param data {}
   * data.id            当前对象id
   * data.DisplayName   节点名称
   * data.DialPlan      上下文内容
   * data.Exten         节点ID
   * data.Account       账户号
   * data.PBX           账户pbx
   */
  deleteExtensionPeer (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.extensionPeer.deleteExtensionPeer'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 请求会议室节点列表
  * [queryRoom description]
  * @param data {Account, PBX}
  */
  queryRoom (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.room.queryRoom'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 添加修改会议室节点
  * [updateRoom description]
  * @param data {}
  * data.id            当前对象id
  * data.DisplayName   节点名称
  * data.RoomPassword  上下文内容
  * data.Exten         节点ID
  * data.Account       账户号
  * data.PBX           账户pbx
  */
  updateRoom (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.room.updateRoom'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 删除会议室节点
  * [deleteRoom description]
  * @param data {}
  * data.id            当前对象id
  * data.DisplayName   节点名称
  * data.RoomPassword  上下文内容
  * data.Exten         节点ID
  * data.Account       账户号
  * data.PBX           账户pbx
  */
  deleteRoom (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.room.deleteRoom'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 请求语音留言节点
  * [queryVoiceMail description]
  * @param data {Account, PBX}
  */
  queryVoiceMail (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.voiceMail.queryVoiceMail'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 添加修改语音留言节点
  * [updateVoiceMail description]
  * @param data {}
  * data.id            当前对象id
  * data.DisplayName   节点名称
  * data.Filename      提示语音
  * data.ToPeerType    转向类型
  * data.ToPeer        转向标志
  * data.Exten         节点ID
  * data.Account       账户号
  * data.PBX           账户pbx
  */
  updateVoiceMail (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.voiceMail.updateVoiceMail'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 删除语音留言节点
  * [deleteVoiceMail description]
  * @param data {}
  * data.id            当前对象id
  * data.DisplayName   节点名称
  * data.Filename      提示语音
  * data.ToPeerType    转向类型
  * data.ToPeer        转向标志
  * data.Exten         节点ID
  * data.Account       账户号
  * data.PBX           账户pbx
  */
  deleteVoiceMail (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.voiceMail.deleteVoiceMail'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 请求语音识别节点
  * [queryAsr description]
  * @param data {Account, PBX}
  */
  queryAsr (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.asr.queryAsr'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 添加修改语音识别节点
  * [updateAsr description]
  * @param data {}
  * data.id             当前对象id
  * data.DisplayName    节点名称
  * data.Type           播报的文本
  * data.PreVoice       录音前提示音
  * data.StopSignal     终止语音识别按键
  * data.SilenceTime    沉默时间
  * data.Variable       返回结果赋值变量
  * data.EndRobotKey    终止机器人问答关键字
  * data.IsRobotHandle  是否交给机器人处理
  * data.NextPeerType   识别后转向类型
  * data.NextPeer       识别后转向值
  * data.Vocab_id       热词
  * data.Exten          节点ID
  * data.Account        账户号
  * data.PBX            账户pbx
  */
  updateAsr (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.asr.updateAsr'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 删除语音识别节点
  * [deleteAsr description]
  * @param data {}
  * data.id             当前对象id
  * data.DisplayName    节点名称
  * data.Type           播报的文本
  * data.PreVoice       录音前提示音
  * data.StopSignal     终止语音识别按键
  * data.SilenceTime    沉默时间
  * data.Variable       返回结果赋值变量
  * data.EndRobotKey    终止机器人问答关键字
  * data.IsRobotHandle  是否交给机器人处理
  * data.NextPeerType   识别后转向类型
  * data.NextPeer       识别后转向值
  * data.Vocab_id       热词
  * data.Exten          节点ID
  * data.Account        账户号
  * data.PBX            账户pbx
  */
  deleteAsr (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.asr.deleteAsr'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 获取热词数据列表
  * [queryHotCode description]
  * @param data
  * data.idle String 值 ''
  */
  queryHotCode (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.asr.queryAllTitle'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 获取标签下热词数据
  * [queryRCByTitle description]
  * @param data
  * data.id String    标签id
  * data.page String  当前页
  * data.limit String 当前页个数
  */
  queryRCByTitle (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.asr.queryRCByTitle'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 点击修改获取当前列热词数据
  * [queryRCById description]
  * @param data
  * data.id String    热词id
  */
  queryRCById (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.asr.queryRCById'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 添加热词数据
  * [addRC description]
  * @param data
  * data.content String    热词内容
  * data.tags Array        标签对象集合 {id: '', name: 标签名称}
  */
  addRC (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.asr.addRC'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 修改热词数据
  * [updateRC description]
  * @param data
  * data.id String        标签id
  * data.label String     值 ''
  * data.content String   热词内容
  * data.tags Array       标签对象集合 {id: '', name: 标签名称}
  */
  updateRC (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.asr.updateRC'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 删除热词数据
  * [deleteRc description]
  * @param data
  * data.id String    热词id
  */
  deleteRc (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.asr.deleteRc'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 请求自定义满意度节点列表
  * [querySatisfaction description]
  * @param data {Account, PBX}
  */
  querySatisfaction (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.satisfaction.querySatisfaction'
    }
    return send.fetch(req, 'post')
  },
  /**
   * 添加修改自定义满意度节点
   * [updateSatisfaction description]
   * @param data {}
   * data.id            当前对象id
   * data.DisplayName   节点名称
   * data.Exten         节点ID
   * data.Welfilename   欢迎词语音文件
   * data.Invalidfilename   无效输入语音文件
   * data.Timeoutfilename   输入超时语音文件
   * data.Byefilename   错误结束语音文件
   * data.Endfilename   评价结束语音文件
   * data.Data   验证变量名
   * data.NextPeerType  转向类型
   * data.NextPeer      转向标志
   * data.Account       账户号
   * data.PBX           账户pbx
   */
  updateSatisfaction (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.satisfaction.updateSatisfaction'
    }
    return send.fetch(req, 'post')
  },
  /**
   * 删除自定义满意度节点
   * [deleteSatisfaction description]
   * @param data {}
   * data.id            当前对象id
   * data.DisplayName   节点名称
   * data.Exten         节点ID
   * data.Welfilename   欢迎词语音文件
   * data.Invalidfilename   无效输入语音文件
   * data.Timeoutfilename   输入超时语音文件
   * data.Byefilename   错误结束语音文件
   * data.Endfilename   评价结束语音文件
   * data.Data   验证变量名
   * data.NextPeerType  转向类型
   * data.NextPeer      转向标志
   * data.Account       账户号
   * data.PBX           账户pbx
   */
  deleteSatisfaction (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.satisfaction.deleteSatisfaction'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 请求采集工号并拨打节点列表
  * [querySuperDialJobNum description]
  * @param data {Account, PBX}
  */
  querySuperDialJobNum (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.superDialJobNum.querySuperDialJobNum'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 添加修改采集工号并拨打节点
  * [updateSuperDialJobNum description]
  * @param data {}
  * data.id            当前对象id
  * data.DisplayName   节点名称
  * data.Filename      语音文件
  * data.ToPeerTypeWhenFrontOffice     按0前台转向type
  * data.ToPeerWhenFrontOffice         按0前台转向值
  * data.ToPeerTypeWhenEmpnoNotExist   工号不存在转向type
  * data.ToPeerWhenEmpnoNotExist       工号不存在转向值
  * data.ToPeerTypeWhenEmpnoAgentBusy  座席忙转向type
  * data.ToPeerWhenEmpnoAgentBusy      座席忙转向值
  * data.ToPeerTypeWhenEmpnoLogoff     网关未注册也未绑定手机转向type
  * data.ToPeerWhenEmpnoLogoff         网关未注册也未绑定手机转向值
  * data.Exten         节点ID
  * data.Account       账户号
  * data.PBX           账户pbx
  */
  updateSuperDialJobNum (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.superDialJobNum.updateSuperDialJobNum'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 删除采集工号并拨打节点
  * [deleteSuperDialJobNum description]
  * @param data {}
  * data.id            当前对象id
  * data.DisplayName   节点名称
  * data.Filename      语音文件
  * data.ToPeerTypeWhenFrontOffice     按0前台转向type
  * data.ToPeerWhenFrontOffice         按0前台转向值
  * data.ToPeerTypeWhenEmpnoNotExist   工号不存在转向type
  * data.ToPeerWhenEmpnoNotExist       工号不存在转向值
  * data.ToPeerTypeWhenEmpnoAgentBusy  座席忙转向type
  * data.ToPeerWhenEmpnoAgentBusy      座席忙转向值
  * data.ToPeerTypeWhenEmpnoLogoff     网关未注册也未绑定手机转向type
  * data.ToPeerWhenEmpnoLogoff         网关未注册也未绑定手机转向值
  * data.Exten         节点ID
  * data.Account       账户号
  * data.PBX           账户pbx
  */
  deleteSuperDialJobNum (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.superDialJobNum.deleteSuperDialJobNum'
    }
    return send.fetch(req, 'post')
  },
  /**
  * 修改系统节点
  * [updateSystem description]
  * @param data {}
  * data.id            当前对象id
  * data.DisplayName   节点名称
  * data.ToPeerTypeWhenEmpnoNotExist   工号不存在转向type
  * data.ToPeerWhenEmpnoNotExist       工号不存在转向值
  * data.ToPeerTypeWhenEmpnoAgentBusy  座席忙转向type
  * data.ToPeerWhenEmpnoAgentBusy      座席忙转向值
  * data.ToPeerTypeWhenEmpnoLogoff     座席未登陆转向类型
  * data.ToPeerWhenEmpnoLogoff         座席未登陆转向值
  * data.AgentBusy                     禁止坐席置忙时进线
  * data.Exten         节点ID
  * data.Account       账户号
  * data.PBX           账户pbx
  * config.ivr.node.system.updateSystem
  */
  updateSystem (data) {
    let req = {
      data: data,
      action: 'config.ivr.node.system.updateSystem'
    }
    return send.fetch(req, 'post')
  }
  // guoliang end   ===========
}
